import { get } from './request'

export class SmartMonitorApi {
  // 环境监控数据统计
  static getEnvWatchDataStats(params) {
    return get('/luoshu-jcp/screen/environmentalMonitoring', { params })
  }

  /**
   * @name 获取监控录像流地址
   * @param {object} params
   * @param {boolean} params.routesNum 监控流路数(不传则默认6路)
   */
  static getMonitorStreamUrl(params) {
    return get('/luoshu-jcp/screen/monitoringFlowPath', { params })
  }
}
